﻿@model TO3.Models.Match

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<div>
    <h4>Match</h4>
	<hr />
    <dl class="dl-horizontal">
        <dt>
            Spiller 1
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Player1.Name)
        </dd>

        <dt>
            Spiller 2
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Player2.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Tournament.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Tournament.Name)
        </dd>

        <dt>
            Vinder
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Winner.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.TableId)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.TableId)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Round)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Round)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Player1CP)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Player1CP)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Player2CP)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Player2CP)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
